
package com.test;

import java.io.Serializable;
import java.util.List;


public class SMILSeries implements Serializable
{
    private static final long serialVersionUID = 1L;
    public static final int TYPE_SEQUENCE = 0;
    public static final int TYPE_PARALLEL = 1;

    private List<SMILComponent> componentList;
    private int type;
    private int duration;


    /**
     * @return the components
     */
    public List<SMILComponent> getComponentList()
    {
        return componentList;
    }


    /**
     * @param components the components to set
     */
    public void setComponentList(List<SMILComponent> componentList)
    {
        this.componentList = componentList;
    }


    /**
     * @return the type
     */
    public int getType()
    {
        return type;
    }


    /**
     * @param type the type to set
     */
    protected void setType(int type)
    {
        this.type = type;
    }


    /**
     * @return the duration
     */
    public int getDuration()
    {
        return duration;
    }


    /**
     * @param duration the duration to set
     */
    public void setDuration(int duration)
    {
        this.duration = duration;
    }


    public void addComponent(SMILComponent component)
    {
        componentList.add(component);
    }

}
